<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>
    <meta charset="UTF-8">
    <title>生产管理信息系统</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/backend.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/vendor/line-awesome/css/line-awesome.min.css">
    <style>
        .wrapper {
            background: url(${pageContext.request.contextPath}/image/bg.png) fixed;
            background-size: cover;
        }
    </style>
</head>
<body>
<div class="wrapper">
    <%--导航栏--%>
    <div class="iq-top-navbar">
        <div class="iq-navbar-custom">
            <nav class="navbar navbar-expand-lg navbar-light p-0">
                <div class="navbar-breadcrumb">
                    <h2 class="ml-2">欢迎您，${userSession.username}</h2>
                </div>
                <div class="nav-item">
                    <a class="btn btn-primary mt-2" href="${pageContext.request.contextPath}/auth?method=signout">登出</a>
                </div>
            </nav>
        </div>
    </div>
    <%--侧边栏--%>
    <div class="iq-sidebar sidebar-default">
        <div class="iq-sidebar-logo d-flex align-items-center">
            <a href="#" class="header-logo">
                <!--<img src="assets/images/logo.png" alt="logo" />-->
                <h2 class="light-logo">生产管理系统</h2>
            </a>
        </div>
        <nav class="iq-sidebar-menu">
            <ul id="iq-sidebar-toggle" class="iq-menu">
                <li>
                    <a href="#user" class="collapsed" data-toggle="collapse" aria-expanded="false">
                        <i class="las la-carrot"></i>
                        <span class="ml-3">供货商管理</span>
                        <i class="las la-angle-right iq-arrow-right arrow-active"></i>
                        <i class="las la-angle-down iq-arrow-right arrow-hover"></i>
                    </a>
                    <ul id="user" class="iq-submenu collapse" data-parent="#iq-sidebar-toggle">
                        <li class="">
                            <a href="<c:url value="/supplier?method=queryAll"/>">
                                <i class="las la-minus"></i>
                                <span>供货商查询</span>
                            </a>
                        </li>
                        <li class="">
                            <a href="<c:url value="/supplier?method=query"/>">
                                <i class="las la-minus"></i>
                                <span>供货商查询(分页)</span>
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="">
                    <a
                            href="#form"
                            class="collapsed svg-icon"
                            data-toggle="collapse"
                            aria-expanded="false"
                    >
                        <i class="lab la-galactic-senate"></i>
                        <span class="ml-3">材料采购</span>
                        <i class="las la-angle-right iq-arrow-right arrow-active"></i>
                        <i class="las la-angle-down iq-arrow-right arrow-hover"></i>
                    </a>
                    <ul
                            id="form"
                            class="iq-submenu collapse"
                            data-parent="#iq-sidebar-toggle"
                    >
                        <li class="">
                            <a href="<c:url value="/jsp/materialin.jsp"/>">
                                <i class="las la-minus"></i>
                                <span>学具材料</span>
                            </a>
                        </li>
                        <li class="">
                            <a href="<c:url value="/jsp/materialin2.jsp"/>">
                                <i class="las la-minus"></i>
                                <span>机器材料</span>
                            </a>
                        </li>
                        <li class="">
                            <a href="<c:url value="/jsp/materialacc.jsp"/>">
                                <i class="las la-minus"></i>
                                <span>材料验收</span>
                            </a>
                        </li>
                        <li class="">
                            <a href="<c:url value="/material?methodd=select&&method=selectAll&&currentPage=1"/>">
                                <i class="las la-minus"></i>
                                <span>材料维护</span>
                            </a>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="#product" class="collapsed" data-toggle="collapse" aria-expanded="false">
                        <i class="las la-cloud"></i>
                        <span class="ml-3">产品管理</span>
                        <i class="las la-angle-right iq-arrow-right arrow-active"></i>
                        <i class="las la-angle-down iq-arrow-right arrow-hover"></i>
                    </a>
                    <ul id="product" class="iq-submenu collapse" data-parent="#iq-sidebar-toggle">
                        <li class="">
                            <a href="<c:url value="/jsp/productselect.jsp"/>">
                                <i class="las la-minus"></i>
                                <span>产品查询</span>
                            </a>
                        </li>
                        <li class="">
                            <a href="<c:url value="/jsp/productIns.jsp"/>">
                                <i class="las la-minus"></i>
                                <span>产品入库查询、审核</span>
                            </a>
                        </li>
                        <li class="">
                            <a href="<c:url value="/jsp/productIn.jsp"/>">
                                <i class="las la-minus"></i>
                                <span>产品入库</span>
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
        </nav>
    </div>
        <div class="content-page">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-12">
                        <div class="card">